2D X-ray templating technology